package com.kapcb.authentication.provider.api.service;

import com.kapcb.authentication.provider.api.model.CreateTokenCommand;
import com.kapcb.common.model.UserInfo;
import com.kapcb.common.result.ResultMessage;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * <a>Title: ITokenRemoteService </a>
 * <a>Author: kapcb <a>
 * <a>Description: ITokenRemoteService <a>
 *
 * @author Kpacb
 * @version 1.0
 * @date 2024/4/27 13:16
 * @since 1.0
 */
public interface ITokenRemoteService {

    @PostMapping("")
    ResultMessage<String> createToken(CreateTokenCommand createTokenCommand);

    @PostMapping("")
    ResultMessage<UserInfo> userInfoQuery();

}
